<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/7
  Time: 19:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<html>
<head>
    <title>菜单4</title>
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">
</head>
<body>
菜单4
<div class="layui-btn-container">
    <sec:authorize access="hasAuthority('4000')">
        <button class="layui-btn layui-btn-primary layui-border">原始按钮</button>
        <button class="layui-btn layui-btn-primary layui-border-green">主色按钮</button>
        </sec:authorize>
        <sec:authorize access="hasRole('DIRECTOR')">
            <button class="layui-btn layui-btn-primary layui-border-blue">百搭按钮</button>
            <button class="layui-btn layui-btn-primary layui-border-orange">暖色按钮</button>
        </sec:authorize>
        <sec:authorize access="isAuthenticated()">
            <button class="layui-btn layui-btn-primary layui-border-red">警告按钮</button>
            <button class="layui-btn layui-btn-primary layui-border-black">深色按钮</button>
        </sec:authorize>
</div>
<script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>
<script src="/js/jquery-2.2.4.js"></script>
</body>
</html>
